package com.model
{
	public class SessionInfo
	{
		
		private var token:String;
		private var name:String;
		private var ip:String;
		private var port:String;
		private var roomPath:String;
		private var gamePath:String;
		private var userId:String;//玩家唯一标识
        private var userName:String;//玩家显示名称
        private var gameId:String;
        private var roomId:String;
        private var deskId:int = 0;//桌子编号
        private var chairId:int =0;//座椅编号
        private var configPath:String;//配置文件路径
        private var deskMaxCount:int=1;

		public function SessionInfo()
		{
		}
		public function get Token():String
		{
			return this.token;
		}
		public function set Token(_token:String):void
		{
			this.token=_token;
		}
		public function get Name():String
		{
			return this.name;
		}
		public function set Name(_name:String):void
		{
			this.name=_name;
		} 
		public function get Ip():String
		{
			return this.ip;
		}
		public function set Ip(_ip:String):void
		{
			this.ip=_ip;
		} 
		public function get Port():String
		{
			return this.port;
		}
		public function set Port(_port:String):void
		{
			this.port=_port;
		} 
		
		public function get RoomPath():String
		{
			return this.roomPath;
		}
		public function set RoomPath(_roomPath:String):void
		{
			this.roomPath=_roomPath;
		} 
		
		public function get GamePath():String
		{
			return this.gamePath;
		}
		public function set GamePath(_gamePath:String):void
		{
			this.gamePath=_gamePath;
		} 
		
		public function get UserId():String
		{
			return this.userId;
		}
		public function set UserId(_userId:String):void
		{
			this.userId=_userId;
		} 
		
		public function get UserName():String
		{
			return this.userName;
		}
		public function set UserName(_userName:String):void
		{
			this.userName=_userName;
		}
		
		public function get GameId():String
		{
			return this.gameId;
		}
		public function set GameId(_gameId:String):void
		{
			this.gameId=_gameId;
		}
		public function get RoomId():String
		{
			return this.roomId;
		}
		public function set RoomId(_roomId:String):void
		{
			this.roomId=_roomId;
		}
		
		public function get DeskId():int
		{
			return this.deskId;
		}
		public function set DeskId(_deskId:int):void
		{
			this.deskId=_deskId;
		} 
		
		public function get ChairId():int
		{
			return this.chairId;
		}
		public function set ChairId(_chairId:int):void
		{
			this.chairId=_chairId;
		} 
		
		public function get ConfigPath():String
		{
			return this.configPath;
		}
		public function set ConfigPath(_configPath:String):void
		{
			this.configPath=_configPath;
		} 
		
		public function get DeskMaxCount():int
		{
			return this.deskMaxCount;
		}
		public function set DeskMaxCount(_deskMaxCount:int):void
		{
			this.deskMaxCount=_deskMaxCount;
		}
		
	}
}